import {postJson} from '../http'

function listTable() {
  return postJson('/listTable', {})
}

function createTable(tableName, families) {
  return postJson('/createTable', {tableName, families})
}

function deleteTable(tableNames) {
  return postJson('/deleteTable', {tableNames})
}

export default {listTable, createTable, deleteTable}
